import {MainLayout} from '@/layouts/index';

export const homeModuleRouter = {
  path: '/',
  name: 'Home',
  component: MainLayout,
  redirect: '/welcome',
  meta: {
    icon: '',
    title: '首页',
    rank: 0,
  },
  children: [
    {
      path: '/welcome',
      name: 'Welcome',
      component: () => import('@/views/HomeView.vue'),
      meta: {
        title: '首页',
      },
    },
    {
      path: '/about',
      name: 'About',
      component: () => import('@/views/AboutView.vue'),
      meta: {
        title: '关于我们',
      },
    },
  ],
};
